package com.job.shuang.HomeWork0711.AbstractClass;

import com.job.shuang.HomeWork0711.AbstractClass.Bread;
import com.job.shuang.HomeWork0711.AbstractClass.Food;

/**
 * @author Liushuang
 * @version 1.0
 * @since 2022-07-11 21:22:38
 */
public class TestFood {
    public static void main(String[] args) {
        //多态
        Food food=new Bread();
        food.smell();
        food.taste();
        food.eat();
    }
}
